Bing Translator Web Service
Method/V2/Soap.svc/DetectArray
Bing Translator Web Service > All Operations Resource Group : /V2/Soap.svc/DetectArray (Method)
Description
Use the DetectArray Method to identify the language of an array of strings all at once. Performs independent detection of each individual array element and returns a result for each element of the array.
Request (LanguageService_DetectArray_InputMessage)

The request body is of type DetectArray.

Request Body Parameters

NameDescriptionData Type
 xml:string
 ArrayOfstring
string Element Sequence texts Element appId Element Sequence DetectArray Element

Overview

Sequence
appId optional xs:string
A string containing "Bearer" + " " + access token.
texts optional ArrayOfstring Complex Type
A string array representing the text from an unknown language. The size of the text must not exceed 10000 characters.
Sequence
string 0..∞ xs:string
Response (LanguageService_DetectArray_OutputMessage)

The response body is of type DetectArrayResponse.

A string array containing a two-character Language codes for each row of the input array.

Response Body Parameters

NameDescriptionData Type
 ArrayOfstring
string Element Sequence DetectArrayResult Element Sequence DetectArrayResponse Element

Overview

Sequence
Sequence
string 0..∞ xs:string
See Also
All Operations Resource GroupBing Translator Web Service